package com.faya.green.model;

import java.util.Date;
import java.util.List;

/**
 * 用户 ：LX
 * 创建时间： 2018/7/6. 17:57
 * 地点：广州
 * 目的: 隶属主用户的子用户数据（主用户的私人关系，没有任何权限）
 * 结果：
 */
public class SubsidiaryUser {

    private String id;
    private String name; //名字
    private String sex; //性别
    private Date birthday; //生日（阴历），根据这个算出年龄
    private String ethnic; //民族
    private String province; //省
    private String city; //市
    private String county; //县 区
    private String addDetails; //详细地址
    private String school; //毕业院校
    private String profession; //专业
    private String imgHred; //头像
    private String email; //邮箱
    private String isParty; //是否党员
    private Date addParty; //入党时间

    private String occupation; //职业 职位
    private String identity; //身份证、
    private String industry; //行业
    private String loveState; //1 未婚 2 已婚 3 离异 4 再婚

    private Date createTime; //创建时间
    private Date updateTime;  //更新时间
    private String status; //数据状态 0 新增 1 修改 2 删除
    private String remark; //备注


    /**
     * 业务字段，民族的中文
     */
    private String ethnicStr;

    /**
     * 业务字段 关系，orgchart的特有字段
     */
    private String title;

    /**
     * 业务字段 关系级别，orgchart的特有字段
     */
    private String className;

    /**
     * 业务字段 子用户，orgchart指定的字段
     */
    private List<SubsidiaryUser> children;

    /**
     * 业务字段, 关系的ID
     */
    private String relationshipId;


    public String getRelationshipId() {
        return relationshipId;
    }

    public void setRelationshipId(String relationshipId) {
        this.relationshipId = relationshipId;
    }

    public String getEthnicStr() {
        return ethnicStr;
    }

    public void setEthnicStr(String ethnicStr) {
        this.ethnicStr = ethnicStr;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<SubsidiaryUser> getChildren() {
        return children;
    }

    public void setChildren(List<SubsidiaryUser> children) {
        this.children = children;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getEthnic() {
        return ethnic;
    }

    public void setEthnic(String ethnic) {
        this.ethnic = ethnic;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getAddDetails() {
        return addDetails;
    }

    public void setAddDetails(String addDetails) {
        this.addDetails = addDetails;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getImgHred() {
        return imgHred;
    }

    public void setImgHred(String imgHred) {
        this.imgHred = imgHred;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIsParty() {
        return isParty;
    }

    public void setIsParty(String isParty) {
        this.isParty = isParty;
    }

    public Date getAddParty() {
        return addParty;
    }

    public void setAddParty(Date addParty) {
        this.addParty = addParty;
    }

    public String getOccupation() {
        return occupation;
    }

    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getLoveState() {
        return loveState;
    }

    public void setLoveState(String loveState) {
        this.loveState = loveState;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
